package com.jiyinit.web.core.mobile.entity;

import com.jiyinit.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * 
 * @author Txd
 * @date 2019-01-17 15:08:15
 * @version 1.0
 *
 */
public class TabCoreExchangeCommentEntity extends BaseEntity{
    
    /**
     * 交流园地评论主键
     * 可为空：
     */
    private Integer id;
    
    /**
     * 交流园地主键
     * 可为空：
     */
    private Integer excId;
    
    /**
     * 评论人id
     * 可为空：
     */
    private Integer userId;
    
    /**
     * 回复人id
     * 可为空：
     */
    private Integer toUserId;
    
    /**
     * 评论内容
     * 可为空：
     */
    private String content;
    
    /**
     * 创建时间
     * 可为空：
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    
    /**
     * 操作类型 0：评论 1：点赞
     * 可为空：
     */
    private Integer optType;
    
    /**
     * 是否删除，0：未删除，1：删除
     * 可为空：
     */
    private Integer isDelete;
    
    /**
     * 备用字段1
     * 可为空：
     */
    private String attr1;
    
    /**
     * 备用字段2
     * 可为空： 自己是否点过赞 0：未点赞，1：已点赞
     */
    private String attr2;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 回复人姓名
     */
    private String toUserName;

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getId(){
        return id;
    }

    public void setId(Integer id){
        this.id = id;
    }
    
    public Integer getExcId(){
        return excId;
    }

    public void setExcId(Integer excId){
        this.excId = excId;
    }
    
    public Integer getUserId(){
        return userId;
    }

    public void setUserId(Integer userId){
        this.userId = userId;
    }
    
    public Integer getToUserId(){
        return toUserId;
    }

    public void setToUserId(Integer toUserId){
        this.toUserId = toUserId;
    }
    
    public String getContent(){
        return content;
    }

    public void setContent(String content){
        this.content = content;
    }
    
    public java.util.Date getCreateTime(){
        return createTime;
    }

    public void setCreateTime(java.util.Date createTime){
        this.createTime = createTime;
    }
    
    public Integer getOptType(){
        return optType;
    }

    public void setOptType(Integer optType){
        this.optType = optType;
    }
    
    public Integer getIsDelete(){
        return isDelete;
    }

    public void setIsDelete(Integer isDelete){
        this.isDelete = isDelete;
    }
    
    public String getAttr1(){
        return attr1;
    }

    public void setAttr1(String attr1){
        this.attr1 = attr1;
    }
    
    public String getAttr2(){
        return attr2;
    }

    public void setAttr2(String attr2){
        this.attr2 = attr2;
    }
	
}